<div class="row">
    <div class="col-md-12">
        <div class="block">
            <div class="block-title">
                <h2><strong> Reporte de Pagos</strong></h2>
            </div>
            <div class="innerLR">
                <div class="widget widget-heading-simple widget-body-gray">
                    <div class="table-responsive">
                        <table id="table" class="table table-vcenter table-condensed table-bordered">
                            <thead>
                            <th>Colegiado</th>
                            <th>Fecha</th>
                            <th>Cuota</th>
                            <th>Tipo Cambio</th>
                            <th>Estado</th>
                            </thead>
                            <tbody>
                                <?php $i = 0 ?>
                                <?php foreach ($estado as $es):?>
                                <tr>
                                    <td><?php echo $es['Movimiento']['user_id']; ?></td>
                                    <td><?php echo $es['Movimiento']['fecha_cuota']; ?></td>
                                    <td><?php echo $es['Movimiento']['cuota'] ?></td>
                                    <td><?php echo $es['Movimiento']['tc'] ?></td>
                                    <td><?php echo $es['Movimiento']['estado'] ?></td>
                                </tr>
                                <?php $i++ ?>
                                <?php endforeach; ?>  
                            </tbody>
                        </table> 
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    $(function() {
        TablesDatatables.init();
    });

    $(document).ready(function() {
        $('#table').dataTable();
    });
</script>